﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Depo.Westbrook
{
    public partial class COStyle : XForm
    {
        public COStyle()
        {
            InitializeComponent();
        }

        private void COStyle_Load(object sender, EventArgs e)
        {
            
            gvCOStyle.Init("GetStyleFromCO");
            gvCOStyle.BestFitColumns();
            btnGuncelle.ItemClick += btnGuncelle_ItemClick;
        }

        void btnGuncelle_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            gvCOStyle.RefreshDataSource(true, "GetStyleFromCO");
        }
    }
}